package com.jxsd.edu.cn.struts2.dao;

import java.util.List;

import com.jxsd.edu.cn.struts2.models.Admin;

public interface AdminDao
{
	/**
	 * add  an  Admin
	 * */
    public   void  addAdmin(Admin  admin);
    /**
     * delete  an  admin
     * */
    public  void   deleteAdmin(String adminId);
    /**
     * get  an  admin
     * */
    public   Admin  getAdmin(String  ad);
    /**
     * get  all  admins
     * */
    public  List<Admin>  getAdmins();
}
